package com.aggregate.iot.sanstar.device.support.client;

import com.aggregate.iot.sanstar.device.bean.DeviceAddData;
import com.aggregate.iot.sanstar.device.bean.BasicResult;
import com.aggregate.iot.sanstar.device.support.AbstractClient;
import com.aggregate.iot.sanstar.device.support.Factory;
import com.aggregate.iot.sanstar.device.support.Merch;

/**
 * 添加设备
 * @author Moyq5
 * @date 2019年3月26日
 */
public class DeviceAdd extends AbstractClient<DeviceAddData, BasicResult> {

	public DeviceAdd(Merch merch) {
		super(merch);
	}

	@Override
	protected String getServerPath() {
		return Factory.getConfig().serverPath() + "/device/add";
	}

	@Override
	protected Class<BasicResult> getResultClass() {
		return BasicResult.class;
	}

}
